FROM crpi-rn7xhj1l0barai8l.cn-hangzhou.personal.cr.aliyuncs.com/luck_lk/openjdk:8
ENV TZ=Asia/Shanghai
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime    && echo $TZ > /etc/timezone
WORKDIR /opt
COPY ./target/*.jar app.jar
RUN ls
EXPOSE 8080
CMD ["java","-jar","app.jar"]